<?php
	if(isset($_SESSION['id'])){
      
        session_start();
      
        header("Location: dashboard.php");
      
      } else {
        header("Location: login.php");
      }
      
?>